<div id="wrap_menu">
    {{if isset($menu)}}
    <ul id="parents">
        <li class="menu_1"><a href="{{'san-pham/moi'|base_url}}">Hàng mới</a></li>
        <li class="menu_2"><a href="{{'san-pham/hot'|base_url}}">Bán chạy</a></li>
        <li class="menu_3"><a href="#">Trang sức bạc</a>
            <ul class="children children_3">
                {{foreach $menu['trang-suc-bac'] as $item}}
                <li><a href="{{'san-pham/'|cat:$menu_model->get_parent_by_id($item->id)->code|cat:'/'|cat:$item->code|base_url}}">{{$item->title}}</a></li>
                {{/foreach}}
            </ul>
        </li>
        <li class="menu_4"><a href="#">Túi xách - Phụ kiện</a>
            <ul class="children children_4">
                {{foreach $menu['tui-xach-phu-kien'] as $item}}
                <li><a href="{{'san-pham/'|cat:$menu_model->get_parent_by_id($item->id)->code|cat:'/'|cat:$item->code|base_url}}">{{$item->title}}</a></li>
                {{/foreach}}
            </ul>
        </li>
        <li class="menu_5"><a href="#">Nội thất - Trang trí</a>
            <ul class="children children_5">
                {{foreach $menu['noi-that-trang-tri'] as $item}}
                <li><a href="{{'san-pham/'|cat:$menu_model->get_parent_by_id($item->id)->code|cat:'/'|cat:$item->code|base_url}}">{{$item->title}}</a></li>
                {{/foreach}}
            </ul>
        </li>
        <li class="menu_6"><a href="#">Mẹ & Bé</a>
            <ul class="children children_6">
                {{foreach $menu['me-va-be'] as $item}}
                <li><a href="{{'san-pham/'|cat:$menu_model->get_parent_by_id($item->id)->code|cat:'/'|cat:$item->code|base_url}}">{{$item->title}}</a></li>
                {{/foreach}}
            </ul>
        </li>
    </ul>
    {{/if}}
</div><!-- /wrap_menu -->
<div class="box_search">
    <form action="{{'tim-kiem'|base_url}}" method="post" name="frm_search">
        <input type="text" name="keyword" id="search" />
        <input onclick="document.frm_search.submit();" type="image" src="{{'data/templates/frontend/home/images/icon_s.jpg'|base_url}}" value="" />
    </form>
</div>